import { Injectable } from '@nestjs/common';
import { CreateHomeDto } from './dto/create-home.dto';
import { UpdateHomeDto } from './dto/update-home.dto';

@Injectable()
export class HomeService {
  createId(name: string, age: number) {
    return `name: ${name}; age: ${age}`;
  }

  getPipeValite(createHomeDto: CreateHomeDto) {
    const {name, age} = createHomeDto;
    return `name: ${name}; age: ${age}`;
  }
}
